package com.tz.colawallet.basecode.base;

/**
 * Created by chenjian on 16/8/31.
 */
public class BaseResp<T> {
    String msg;
    Integer errno;
    String code;
    Boolean success;
    T data;
    T result;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getErrno() {
        return errno;
    }

    public void setErrno(Integer errno) {
        this.errno = errno;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "BaseResp{" +
                "msg='" + msg + '\'' +
                ", errno=" + errno +
                ", code='" + code + '\'' +
                ", success=" + success +
                ", data=" + data +
                ", result=" + result +
                '}';
    }
}
